#ifndef VIEWPROVIDERDOCUMENTOBJECT_H_H_H_H_H_
#define VIEWPROVIDERDOCUMENTOBJECT_H_H_H_H_H_

#include "ViewProvider.h"
namespace Gui
{

class ViewProviderDocumentObject : public Gui::ViewProvider
{
	PROPERTY_HEADER(Gui::ViewProviderDocumentObject);
public:
	ViewProviderDocumentObject(void);
	~ViewProviderDocumentObject(void);

	 App::DocumentObject *getObject(void) const {return pcObject;}

	 virtual void attach(App::DocumentObject* pcObject);

public:

	 int setCustomAttribute(const char* propName,const QVariant& value);
	 int _setAttribute(const char* propName,const QVariant& value);

protected:
	App::DocumentObject* pcObject;
};
}

#endif